<script>

export default {
  name: "App",
}
</script>

<template>
  <div class="container">
    <nav>
      <router-link active-class="active" to="/nowplaying?type=1">正在热映</router-link>|
      <router-link active-class="active" to="/comming?type=2">即将上映</router-link>|
    </nav>
    <router-view></router-view>
  </div>
</template>

<style>
.container {
  text-align: center;
  a {
    margin: 10px;
    color: skyblue;

    &.active {
      color: red;
    }
  }
}
</style>